package com.zhuss.bean.bo.order.order;

import java.io.Serializable;
import java.util.List;

import com.zhuss.bean.unit.product.TrainBean;
import com.zhuss.common.BaseBo;
import com.zhuss.common.IdBo;
import com.zhuss.enums.OrderStatus;
/**
 * @description: 订单创建bo
 * @author: zhushanshuo
 * @create: Mon Jan 11 10:24:29 CST 2021
 **/
public class CreateOrderBo extends IdBo  implements Serializable, BaseBo {
	
	/**
	 * 
	 */
	private static final long serialVersionUID = (long)(Math.random() * 2000000000000000000L);
	
    private String orderNo;     //订单编号

    private Long lineStrategyId;     //买票的线路策略ID，即商品ID

    private Long lineId;     //线路ID
    
    private Integer lineType; // 线路类型
    
    private Integer rideType; // 乘坐方式

    private Long onSiteId;     //上车站点ID
    
    private String onSiteTime;     //上车时间

    private Long offSiteId;     //下车站点ID
    
    private String offSiteTime;     //下车时间

    private Long price;     //单价， 单位：分

    private Integer num;     //数量, 天数
    
    private Integer personNum = 1; // 乘坐人数  默认 1

    private Long totalPrice;     //总金额, 单价*数量
    
    private Integer status = OrderStatus.未支付.key();     //订单状态  已提交订单
    
    private List<Long> trainIdList;
    
    private List<TrainBean> trainList;

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
	}

    public Long getLineStrategyId() {
        return lineStrategyId;
    }

    public void setLineStrategyId(Long lineStrategyId) {
        this.lineStrategyId = lineStrategyId;
	}

    public Long getLineId() {
        return lineId;
    }

    public void setLineId(Long lineId) {
        this.lineId = lineId;
	}

    public Integer getLineType() {
		return lineType;
	}

	public void setLineType(Integer lineType) {
		this.lineType = lineType;
	}

	public Integer getRideType() {
		return rideType;
	}

	public void setRideType(Integer rideType) {
		this.rideType = rideType;
	}

	public Long getOnSiteId() {
        return onSiteId;
    }

    public void setOnSiteId(Long onSiteId) {
        this.onSiteId = onSiteId;
	}

    public String getOnSiteTime() {
		return onSiteTime;
	}

	public void setOnSiteTime(String onSiteTime) {
		this.onSiteTime = onSiteTime;
	}

	public Long getOffSiteId() {
        return offSiteId;
    }

    public void setOffSiteId(Long offSiteId) {
        this.offSiteId = offSiteId;
	}
    
    public String getOffSiteTime() {
		return offSiteTime;
	}
    
    public void setOffSiteTime(String offSiteTime) {
		this.offSiteTime = offSiteTime;
	}

    public Long getPrice() {
        return price;
    }

    public void setPrice(Long price) {
        this.price = price;
	}

    public Integer getNum() {
        return num;
    }

    public void setNum(Integer num) {
        this.num = num;
	}
    
    public Integer getPersonNum() {
		return personNum;
	}
    
    public void setPersonNum(Integer personNum) {
		this.personNum = personNum;
	}

    public Long getTotalPrice() {
        return totalPrice;
    }

    public void setTotalPrice(Long totalPrice) {
        this.totalPrice = totalPrice;
	}

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
	}
    
    public List<Long> getTrainIdList() {
		return trainIdList;
	}
    
    public void setTrainIdList(List<Long> trainIdList) {
		this.trainIdList = trainIdList;
	}
    
    public List<TrainBean> getTrainList() {
		return trainList;
	}
    
    public void setTrainList(List<TrainBean> trainList) {
		this.trainList = trainList;
	}


}
